package com.punch.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punch.common.page.PageInfo;
import com.punch.common.query.order.SettlementQueryInfo;
import com.punch.common.vo.course.MaterialSettlementVO;
import com.punch.common.vo.order.SettlementPageVO;
import com.punch.order.model.MaterialSettlement;

/**
 * 教具结算信息
 */
public interface MaterialSettlementService extends IService<MaterialSettlement> {

    /**
     * 教具结算列表
     *
     * @param settlementQueryInfo 结算查询信息
     * @return SettlementPageVO
     */
    PageInfo<SettlementPageVO> listMaterialSettlement(SettlementQueryInfo settlementQueryInfo);

    /**
     * 教具结算详情
     *
     * @param settlementId 结算id
     * @return OrderMaterialSettlementVO
     */
    MaterialSettlementVO getMaterialSettlement(Long settlementId);

    /**
     * 教具结算修改状态
     *
     * @param settlementId 结算id
     * @return settlementId
     */
    Long updateMaterialSettlementStatus(Long settlementId, Integer settlementStatus);

}
